\setscript[hanzi]
\setupalign[hanging, hz]

\mainlanguage[cn]

\usemodule[zhfontsext]
\usetypescript[cnfontb]
\setupbodyfont[cnfontb,rm,12pt] % 小四号 = 12pt

\setupindenting[always,2em,first]

\setupinterlinespace[line=3.66ex] %line=3.05ex相当于WORD 中的1.0倍行距, 3.66ex相当于WORD 中的1.2倍行距
\setupwhitespace[0pt]


\define[1]\titleLine{
    \blank[10pt]
    \framed[frame=off,align=flushleft,offset=3pt,strut=none,width=\textwidth,height=fit,background=color,backgroundcolor=gray]{{\bfx #1}}
    \blank[5pt]
}


\startbuffer[exampletext]
中文 北京上海天津  English hello world \par
\stopbuffer


\starttext
\titleLine{\type{\rm\tf}}
\rm\tferhao \getbuffer[exampletext]
\rm\tfsanhao  \getbuffer[exampletext]
\rm\tfxiaosihao \getbuffer[exampletext]

\titleLine{\type{\rm\bf}}
\rm\bfsanhao \getbuffer[exampletext]
\rm\bfwuhao \getbuffer[exampletext]


\titleLine{\type{\rm\fs}}
\rm\fsxiaoerhao \getbuffer[exampletext]
\rm\fssanhao \getbuffer[exampletext]
\rm\fsxiaosihao \getbuffer[exampletext] 

\titleLine{\type{\rm\kt}}
\rm\ktxiaoerhao \getbuffer[exampletext]
\rm\ktsanhao \getbuffer[exampletext]
\rm\ktxiaosihao  \getbuffer[exampletext]



\titleLine{\type{\ss\tf}}
\ss\tferhao \getbuffer[exampletext]
\ss\tfsanhao \getbuffer[exampletext]
\ss\tfxiaosihao \getbuffer[exampletext]

\titleLine{\type{\ss\bf}}
\ss\bferhao \getbuffer[exampletext]
\ss\bfsanhao \getbuffer[exampletext]
\ss\bfxiaosihao \getbuffer[exampletext]



\stoptext